{% extends "./base.html" %}
{% block title %}
<title>云辉-新闻资讯</title>
{% endblock %}
{% block style %}
<link rel="stylesheet" href="/static/assets/css/news.css">
{% endblock %}
{% block content %}
<div class="main">
  <div class="blank-header" style="background-image: url('/static/assets/image/home/bannerInner.jpg');">
    <div class="header-content">
      <h1>新闻媒体</h1>
      <p>企业动态、行业新闻一手掌握</p>
    </div>
  </div>
  <h2>新闻中心</h2>
  <div class="list">
    {%for val in list %}
    <a class="item" href="/news/detail?id={{val.id}}">
      <img src="{{val.thumb}}" alt="">
      <div class="title">{{val.title}}</div>
    </a>
    {% endfor %}
  </div>
</div>

{% endblock %}